home *** CD-ROM | disk | FTP | other *** search
/ BBS in a Box 12 / BBS in a box XII-2.iso / Files II / Prog / B-C / C++ FAQ Reference 1.0.sit / C++ FAQ Reference 1.0.rsrc / STR#_135.txt < prev    next >
Encoding:
Text File  |  1993-06-30  |  458 b   |  15 lines

  1. Does 'delete ptr' delete the ptr or the pointed-to-data?
  2.  
  3. Can I free() ptrs alloc'd with 'new' or 'delete' ptrs alloc'd w/ malloc()?
  4.  
  5. Why should I use 'new' instead of trustworthy old malloc()?
  6.  
  7. Why doesn't C++ have a 'realloc()' along with 'new' and 'delete'?
  8.  
  9. How do I allocate / unallocate an array of things?
  10.  
  11. What if I forget the '[]' when 'delete'ing array allocated via 'new X[n]'?
  12.  
  13. What's the best way to create a '#define macro' for 'NULL' in C++?
  14.  
  15.